package com.heima.vo;

import com.heima.entity.AdminUser;
import com.heima.entity.Permissions;
import com.heima.entity.Roles;
import com.heima.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserLoginInfoVo {

    private String msg;

    private Integer code;

    private List permissions = new ArrayList<>(Arrays.asList("*:*:*"));

    private List roles = new ArrayList<>(Arrays.asList("admin"));

    private AdminUser user;
}
